package com.jkoss.wine.merchantSetting.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 * 
 * 
 * @Author chair
 * @Version 1.0, 2018-10-01
 * @See
 * @Since com.jkoss.wine.merchantSetting.entity
 * @Description: TODO
 */
@TableName("merchant_asset")
public class MerchantAsset extends Model<MerchantAsset> {

	private static final long serialVersionUID = 1L;

	@TableId("merchant_asset_id")
	private String merchantAssetId;
	/**
	 * 资源分组 对应的是公共类型表的ID
	 */
	@TableField("common_type_id")
	private String commonTypeId;
	/**
	 * 图片url
	 */
	@TableField("asset_url")
	private String assetUrl;
	@TableField("pic_name")
	private String picName;
	@TableField("add_time")
	private Date addTime;
	@TableField("operator")
	private String operator;
	@TableField("del")
	private Integer del;

	public String getMerchantAssetId() {
		return merchantAssetId;
	}

	public void setMerchantAssetId(String merchantAssetId) {
		this.merchantAssetId = merchantAssetId;
	}

	public String getCommonTypeId() {
		return commonTypeId;
	}

	public void setCommonTypeId(String commonTypeId) {
		this.commonTypeId = commonTypeId;
	}

	public String getAssetUrl() {
		return assetUrl;
	}

	public void setAssetUrl(String assetUrl) {
		this.assetUrl = assetUrl;
	}

	public String getPicName() {
		return picName;
	}

	public void setPicName(String picName) {
		this.picName = picName;
	}

	public Date getAddTime() {
		return addTime;
	}

	public void setAddTime(Date addTime) {
		this.addTime = addTime;
	}

	public String getOperator() {
		return operator;
	}

	public void setOperator(String operator) {
		this.operator = operator;
	}

	public Integer getDel() {
		return del;
	}

	public void setDel(Integer del) {
		this.del = del;
	}

	@Override
	protected Serializable pkVal() {
		return this.merchantAssetId;
	}

	@Override
	public String toString() {
		return "MerchantAsset{" + ", merchantAssetId=" + merchantAssetId + ", commonTypeId=" + commonTypeId + ", assetUrl=" + assetUrl + ", picName=" + picName + ", addTime=" + addTime + ", operator=" + operator + ", del=" + del + "}";
	}
}
